package com.xmg.p2p.business.mapper;

import com.xmg.p2p.business.domain.PlatformBankinfo;
import com.xmg.p2p.business.query.PlatformBankinfoQueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @BelongsProject: jinrong-website
 * @BelongsPackage: com.xmg.p2p.business.mapper
 * @author: Andy
 * @date: 2021.4.7 19:13
 * @Description: 银行的Mapper
 * @since JDK 1.8
 */
@Repository
public interface PlatformBankinfoMapper {
    //删除
    int deleteByPrimaryKey(Long id);
    //添加
    int insert(PlatformBankinfo record);
    //根据id查询
    PlatformBankinfo selectByPrimaryKey(Long id);
    //获取全部
    List<PlatformBankinfo> selectAll();
    //修改
    int updateByPrimaryKey(PlatformBankinfo record);
    //分页查询
    //获取记录数
    int queryForCount(PlatformBankinfoQueryObject qo);
    //根据条件查询(分页操作)
    List<PlatformBankinfo> query(PlatformBankinfoQueryObject qo);

}
